﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;
using Volo.Abp.Domain.Entities.Auditing;

namespace GoodShop.Users
{
    public class UserModel: AuditedAggregateRoot<Guid>,ISoftDelete
    {
        public string UserName { get; set; }
        public string Password { get; set; }
        /// <summary>
        /// 用户手机号
        /// </summary>
        public string UsePhone { get; set; }
        /// <summary>
        /// 用户性别
        /// </summary>
        public bool Sex { get; set; }
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string Nickname { get; set; }
        /// <summary>
        /// 余额Balance
        /// </summary>
        public decimal Balance { get; set; }
        /// <summary>
        /// 积分
        /// </summary>
        public int Integral { get; set; }
        /// <summary>
        /// 会员等级
        /// </summary>
        public int MemberGradeId { get; set; }
        /// <summary>
        /// 用户状态，1会员，0普通用户
        /// </summary>
        public bool UserState { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime UseCreatetime { get; set; } = DateTime.Now;
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
